package com.pi.fssm.common.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * Description:
 * 可以在这里随系统西东初始化一些东西
 * SystemListener.java Create on 2013-4-17 下午10:46:24 
 * @author held
 * @version 1.0
 * Copyright (c) 2013 held,Inc. All Rights Reserved.
 */
public class SystemListener implements ServletContextListener {
	
	Log log=LogFactory.getLog(SystemListener.class);

	@Override
	public void contextDestroyed(ServletContextEvent event) {
		

	}

	@Override
	public void contextInitialized(ServletContextEvent event) {
		ServletContext context = event.getServletContext();
		log.debug(context.getContextPath());

	}

}

